package com.his.struts.form;

import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/**
 * 日志form
 * @author liuyan
 *
 */
public class NoteForm extends ActionForm {

	private String nb_img;

	private Integer nb_type;

	private String nb_turn;

	private Date nb_time;

	private Integer nb_id;
	
	private Integer docnb_id;

	private Integer response_number;

	private Integer read_number;

	private String nb_lock;

	private String nb_title;

	private int u_id;
	
	private String testnote;
	
	private String publish;


	/** 
	 * Method validate 表单验证
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		return null;
	}

	/** 
	 * Method reset 表单重置
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
	}

	public String getNb_img() {
		return nb_img;
	}

	public void setNb_img(String nb_img) {
		this.nb_img = nb_img;
	}

	public Integer getNb_type() {
		return nb_type;
	}

	public void setNb_type(Integer nb_type) {
		this.nb_type = nb_type;
	}

	public String getNb_turn() {
		return nb_turn;
	}

	public void setNb_turn(String nb_turn) {
		this.nb_turn = nb_turn;
	}

	public Date getNb_time() {
		return nb_time;
	}

	public void setNb_time(Date nb_time) {
		this.nb_time = nb_time;
	}

	public Integer getNb_id() {
		return nb_id;
	}

	public void setNb_id(Integer nb_id) {
		this.nb_id = nb_id;
	}

	public Integer getDocnb_id() {
		return docnb_id;
	}

	public void setDocnb_id(Integer docnb_id) {
		this.docnb_id = docnb_id;
	}

	public Integer getResponse_number() {
		return response_number;
	}

	public void setResponse_number(Integer response_number) {
		this.response_number = response_number;
	}

	public Integer getRead_number() {
		return read_number;
	}

	public void setRead_number(Integer read_number) {
		this.read_number = read_number;
	}

	public String getNb_lock() {
		return nb_lock;
	}

	public void setNb_lock(String nb_lock) {
		this.nb_lock = nb_lock;
	}

	public String getNb_title() {
		return nb_title;
	}

	public void setNb_title(String nb_title) {
		this.nb_title = nb_title;
	}

	public int getU_id() {
		return u_id;
	}

	public void setU_id(int u_id) {
		this.u_id = u_id;
	}

	public String getTestnote() {
		return testnote;
	}

	public void setTestnote(String testnote) {
		this.testnote = testnote;
	}

	public String getPublish() {
		return publish;
	}

	public void setPublish(String publish) {
		this.publish = publish;
	}
	
	
}